package com.wframe.project.jnd.util;

/**
 * Created by lwb on 2017/6/7.
 */
public class PromotionHandler {

    /**
     * 持有后继的责任对象
     */
    protected PromotionHandler successor;

    /**
     * 取值方法
     */
    public PromotionHandler getSuccessor() {
        return successor;
    }

    /**
     * 赋值方法，设置后继的责任对象
     */
    public void setSuccessor(PromotionHandler successor) {
        this.successor = successor;
    }
}
